package org.dromara.finance.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.dromara.finance.domain.PurchaseContract;
import org.dromara.finance.domain.bo.PurchaseContractBo;
import org.dromara.finance.domain.vo.PurchaseContractVo;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;

import java.util.List;

/**
 * 采购合同Mapper接口
 *
 * @author xxy
 * @date 2025-08-18
 */
public interface PurchaseContractMapper extends BaseMapperPlus<PurchaseContract, PurchaseContractVo> {

    PurchaseContractVo selectVoById(Long id);

    Page<PurchaseContractVo> selectContractList(Page<?> page, @Param("bo") PurchaseContractBo bo);

    List<PurchaseContractVo> selectBySaleContractId(Long id);
}
